/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lab5cyclebuffer;

/**
 *
 * @author Daryna_Ragimova
 */
public class Lab5CycleBuffer {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Buffer buf = new Buffer (8);
        new Thread(new Consumer(buf)).start();
        new Thread(new Producer(buf)).start();
        //new Thread(new Producer(buf)).start();
        // new Thread(new Producer(buf)).start();
        new Thread(new Producer(buf)).start();
        
    }
}
